var fs = require('fs');
var http = require('http');
http.createServer(function (request, response) {
fs.readFile('果酱优.jpg', function (error, data) {
    response.writeHead(200, { 'Content-Type': 'image/jpeg' });
        response.end(data);
});
}).listen(52273, function (){
    console.log('服务器监听位置是 http://127.0.0.1:52273');
});
http.createServer(function (request, response) {
fs.readFile('huiy.mp4', function (error, data){
response.writeHead(200, {'Content-Type': 'video/mpeg4'});
response.end(data);
});
}).listen(52274, function (){
console.log('服务器监听位置是 http://127.0.0.1:52274');
});